{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form action='' method='post' id='add_admin'>

<div class="formitems inline">
    <label class="fi-name"><span class='colorRed'>*</span>标题：</label>
    <div class="form-controls">
        <input type="text" name='title' value='{$title}' id='title' placeholder="" class="small">
        <span class="fi-help-text"></span>
    </div>
</div>

<div class="formitems inline">
    <label class="fi-name"><!-- <span class='colorRed'>*</span> -->链接：</label>
    <div class="form-controls">
        <input type="text" name='link' value='{$cust_flash_link}' id='realname' placeholder="" class="large">
        <span class="fi-help-text"></span>
    </div>
</div>

<div class="formitems inline">
    <label class="fi-name"><span class='colorRed'>*</span>排序号：</label>
    <div class="form-controls">
        <input type="text" name='serial'  id='serial' value='{$serial}' class="small">
        <span class="fi-help-text"></span>
    </div>
</div>

{upload_image_widget($pic_data)}

<div class="formitems inline">
    <label class="fi-name">是否显示：</label>
    <div class="form-controls">
        <div class="radio-group">
            <label><input type="radio" name="isuse" class="j-skupanelCtrl" value="1" {if $isuse == 1 || !isset($isuse)}checked{/if}>是</label>
            <label><input type="radio" name="isuse" class="j-skupanelCtrl" value="0" {if isset($isuse) && $isuse == 0}checked{/if}>否</label>
        </div>
    </div>
</div>

<div class="formitems inline">
        <label class="fi-name">位置：</label>
        <div class="form-controls">
            <div class="radio-group">
                <label><input type="radio" name="isuse" class="j-skupanelCtrl" value="1" {if $position == 1 || !isset($position)}checked{/if}>首页</label>
                <label><input type="radio" name="position" class="j-skupanelCtrl" value="2" {if $position == 2 || !isset($position)}checked{/if}>创享圈</label>
                <label><input type="radio" name="position" class="j-skupanelCtrl" value="2" {if $position == 3 || !isset($position)}checked{/if}>创享圈</label>

            </div>
        </div>
</div>

<div class="formitems inline">
    <label class="fi-name"></label>
    <div class="form-controls">
        <input type='hidden' name='submit' value='submit' />
        <button type="submit" class="btn btn-blue"><i class="gicon-ok white"></i>保存</button>
        <button type="reset" class="btn"><i class="gicon-repeat"></i>重置</button>
    </div>
</div>
</form>
{/block}